#pragma once
#include "WorldObject.h"
#include "MyCam.h"
#include <list>

class Player: public WorldObject {
	public:
		Player(Location l, MyCam &Cam);
		Player(Location l);
		Player(const Player &P);
		~Player();
		virtual SceneRoot* getDrawables(void);
		virtual void update(void);
		virtual int getSize(void);
		virtual Location getLocation(void);
		virtual bool draw(void);
		// virtual Vect3D cameraVector();
		// virtual Vect3D cameraOrientation();
		virtual bool canSplit();
		virtual std::list<WorldObject *> split();
		virtual void setDraw(bool d);
		virtual bool deleteMe(void);
		virtual bool alive();
		virtual void setDelete(bool d);
	private:
		int health;
		int mana;
		MyCam* TestCam;
		Location loc;
		int size;
		SceneRoot root;
		bool drawMe;
		bool dead;
		bool deleteThis;
		int playerID;
		FILE* fp;
};